package com.godofgamblers.hotelmanagementsystem.dto;

import com.godofgamblers.hotelmanagementsystem.pojo.Room;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * 线下价格dto类
 * 存放计算价格需要的数据
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OfflinePriceDto {
    //计划入住时间
    private String startTime;
    //计划退房时间
    private String endTime;
    //房间类型id
    private Integer room_type_id;
    //会员折扣
    private BigDecimal level_discount;
    //全场折扣
    private BigDecimal allDiscount;
    //房间状态
    private Integer room_state;
    //房间信息
    private List<Room> rooms;
    //计算出的价格
    private BigDecimal price;
    //房间类型名称
    private String room_type_name;
    //数据检验结果
    private String result;
}
